home *** CD-ROM | disk | FTP | other *** search
- on prepareFrame
- global idle_time_limit, muzversion, ComputerSpeed
- repeat with i = 1 to 120
- set the visible of sprite i to 1
- end repeat
- if (muzversion = VOID) and (ComputerSpeed = 3) then
- set muzversion to 1
- set myFile to new(xtra("fileio"))
- openFile(myFile, the moviePath & "idletime.txt", 1)
- set theFile to readFile(myFile)
- closeFile(myFile)
- set myFile to 0
- set timestring to theFile
- set idle_time_limit to 60 * word 1 of timestring
- else
- if muzversion = VOID then
- set muzversion to 0
- set idle_time_limit to 0
- end if
- end if
- cursor(200)
- if ComputerSpeed = 2 then
- set ComputerSpeed to 4
- end if
- end
-
- on exitFrame
- global skip_intro, ComputerSpeed
- setUpAll()
- if the freeBytes > (16 * 1024 * 1024) then
- end if
- if the freeBytes > (32 * 1024 * 1024) then
- end if
- if the freeBytes > (32 * 1024 * 1024) then
- end if
- set the directToStage of member "sunmove" to 0
- set the pausedAtStart of member "sunmove" to 0
- ClrCursorS()
- MYPreload(label("skipped"), label("ulStart"))
- if ComputerSpeed >= 3 then
- set skip_intro to 1
- end if
- if skip_intro <> 0 then
- go("mmstart")
- else
- go("mac_intro")
- end if
- end
-